package com.design.bridge;

/**
 * @author cxx
 * @create 2020-04-21 10:35
 **/
public class DefaultTour implements Tour {

    private Vehicle vehicle;

    public DefaultTour(Vehicle vehicle) {
        this.vehicle = vehicle;
    }

    @Override
    public void doTour() {
        vehicle.trip ();
    }
}
